<?php

namespace App\Http\Models\App;

use Illuminate\Database\Eloquent\Model;

class AppGroup extends Model
{
    //
    protected $connection = 'cas';
    protected $table      = 'app_group';
    //
    public function hasManyAuth(){
    	return $this->hasMany(\App\Http\Models\App\AppGroupAuthRelation::class,'group_id','id')->select('auth_id','status');
    }
}
